package com.fer.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 这是一个订单的实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Orders implements Serializable {

    //订单号
    private Integer order_id;
    //订单日期
    private Date order_time;
    //订单的商品内容
    private List<Goods> goods_list;
    //订单的总价
    private Float all_price;
    //订单地址
    private String order_address;
    //订单状态
    private Boolean is_finished;
    //所属店铺
    private Integer shop_id;

}
